package basic;

public class ForEachLoop {
    public static void main(String[] args) {
        String[] words = { "Welcome " , "to ", "imooc"};
        //for(变量声明: 数组或列表)
        for (String word: words){
            System.out.print(word);
        }
    }
}


